var container = document.getElementById("gpViewCount"); if(container){ container.innerHTML = "201926"; }else{ document.write("201926"); }